package com.chenfan.mcn.model.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.chenfan.mcn.constant.McnConstant;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 批量确认打款DTO
 *
 * @author wulg
 * @date 2022-08-30
 **/
@Data
public class BatchConfirmPaidDTO implements Serializable {

    /**
     * 执行单ID数组
     */
    @NotEmpty(message = "（多选）请选择执行单")
    private List<Long> idList;

    /**
     * 打款日期
     */
    @JSONField(format = McnConstant.SHORT_DATE_FORMAT)
    @NotNull(message = "打款日期不能为空")
    private Date paidDate;

    /**
     * 打款备注
     */
    private String paidRemark;
}
